﻿import flash.external.*

//自动缩放背景大小
function txt_complete(obj:Object)
{
	//img_bg._width = obj.textWidth + 60
	//img_bg._height= obj.textHeight + 60
	ExternalInterface.call("t_ui.tips_complete", obj.textHeight, obj.textWidth);
}
txt_tips.txt_title.addEventListener("complete", this, "txt_complete");
function set_title(txt:String)
{
	txt_tips.txt_title.setText("#s16"+txt, "黑体");
}